import {ContextItem} from "../../../../js/menu/ContextItem";
import createElementLibraryFolder from "./items/CreateElementLibraryFolder";
import deleteElementLibraryItem from "./items/DeleteElementLibraryItem";
import insertElementLibraryItem from "./items/InsertElementLibraryItem";
import renameElementLibraryItem from "./items/RenameElementLibraryItem";
import renameElementLibraryItemPreview from "./items/RenameElementLibraryItemPreview";

const elementLibraryItemMenu = [
  // new ContextItem("createElementLibraryFolder", "message.ElementLibrary.createFolder", createElementLibraryFolder),
  new ContextItem("insertElementLibraryItem", "message.ElementLibrary.insert", insertElementLibraryItem),
  new ContextItem("renameElementLibraryItem", "message.ElementLibrary.rename", renameElementLibraryItem),
  new ContextItem("deleteElementLibraryItem", "message.ElementLibrary.delete", deleteElementLibraryItem),
]

const elementLibraryItemPreviewMenu = [
  // new ContextItem("createElementLibraryFolder", "message.ElementLibrary.createFolder", createElementLibraryFolder),
  new ContextItem("insertElementLibraryItem", "message.ElementLibrary.insert", insertElementLibraryItem),
  new ContextItem("renameElementLibraryItem", "message.ElementLibrary.rename", renameElementLibraryItemPreview),
  new ContextItem("deleteElementLibraryItem", "message.ElementLibrary.delete", deleteElementLibraryItem),
]

export { elementLibraryItemMenu, elementLibraryItemPreviewMenu };